<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pe="http://primefaces.org/ui/extensions" >
<h:head>
	<title>Personal Home</title>
</h:head>
<h:body>
	<h:form>
 		<h:panelGrid columns="1">
	  		<p:outputLabel value="Administrator: #{personalHomeAdministrator.currentUserEmail}" />
	 
	  		<p:outputLabel value="Name: #{personalHomeAdministrator.currentUserName}" />
	  		
	 		<p:outputLabel value="Surname: #{personalHomeAdministrator.currentUserSurname}" />
	 		
	 		<p:commandButton action="#{logoutBean.logout()}" value="Logout" />
		</h:panelGrid>
	</h:form>
	<br/>
	<h:form>
		<h:panelGrid columns="2">
			<p:commandButton action="#{personalHomeAdministrator.addEmployee()}" value="Add employee" />
			<p:commandButton action="#{personalHomeAdministrator.listEmployees()}" value="List employees" />
		</h:panelGrid>
	</h:form>
</h:body>
</html>